#include "tou.h"
Map::Map()
{
	for (int i = 0; i < 3; i++)
	{
		for (int j = 0; j < 8; j++)
		{
			map_cell[i][j].state = false;
			map_cell[i][j].plant_type = -1;
		}
	}
}
void Map::setstatus(int row, int col, bool state,int plant_type)
{
	map_cell[row][col].state = state;
	map_cell[row][col].plant_type = plant_type;
}
bool Map::seekmapstatus(int row, int col)
{
	return map_cell[row][col].state;
}
int Map::getmapplant(int row, int col)
{
	return map_cell[row][col].plant_type;
}
Map::~Map()
{}
